<div xmlns:th="https://www.thymeleaf.org"
     class="custom"
     th:fragment="footer (footer)"
     th:if="${!#strings.isEmpty(footer.content)}"
     th:with="mobileLine = ${footer != null and not #lists.isEmpty(footer.show_style) and #lists.contains(footer.show_style, 'mobile_line')},
               hideSeparator = ${footer != null and not #lists.isEmpty(footer.show_style) and #lists.contains(footer.show_style, 'hide_separator')}"
     th:classappend="|${mobileLine ? 'footer-truncation' : ''}${mobileLine and hideSeparator ? ' ' : ''}${hideSeparator ? 'exclusive' : ''}|"
     th:utext="${footer.content}">
</div>